package org.csu.lestore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("tbl_orders")
public class Orders {
    @TableId(value="order_id",type = IdType.AUTO)
    private int orderId;
    private int userId;
    private BigDecimal totalPrice;
    private char orderState;
    private String remarks;
    private Date orderDate;
    private int sendAddrId;
    private int revAddrId;
}
